500
How can I select a column
with AxG2antt1 do
begin
	MarkSearchColumn := False;
	SingleSel := False;
	FullRowSelect := EXG2ANTTLib.CellSelectEnum.exRectSel;
	(Columns.Add('Column1') as EXG2ANTTLib.Column).Selected := True;
	Columns.Add('Column2');
	with Items do
	begin
		CellValue[TObject(AddItem('One')),TObject(1)] := 'One';
	end;
	with Items do
	begin
		CellValue[TObject(AddItem('Two')),TObject(1)] := 'Two';
	end;
	Items.SelectAll();
end
499
How can I avoid focusing a new cell, when user presses an arrow, page, home or end key, while the editor is opened
with AxG2antt1 do
begin
	set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exLeftArrow,TObject(0));
	set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exRightArrow,TObject(0));
	set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exUpArrow,TObject(0));
	set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exDownArrow,TObject(0));
	set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exHomeKey,TObject(0));
	set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exEndKey,TObject(0));
	set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exPageUpKey,TObject(0));
	set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exPageDownKey,TObject(0));
	(Columns.Add('Edit') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.EditType;
	(Columns.Add('Edit') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.EditType;
	with Items do
	begin
		CellValue[TObject(AddItem(TObject(0))),TObject(1)] := TObject(1);
	end;
	with Items do
	begin
		CellValue[TObject(AddItem(TObject(2))),TObject(1)] := TObject(3);
	end;
end
498
How can I expand predefined items in a drop down list editor as I type

with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column) do
	begin
		Def[EXG2ANTTLib.DefColumnEnum.exCellValueFormat] := TObject(1);
		with Editor do
		begin
			Option[EXG2ANTTLib.EditorOptionEnum.exExpandOnSearch] := TObject(True);
			EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
			DropDownAutoWidth := EXG2ANTTLib.DropDownWidthType.exDropDownEditorWidth;
			AddItem(1,'<b>CObject</b> class',TObject(1));
			InsertItem(2,'<b>CCmdTarget</b> class',TObject(2),TObject(1));
			InsertItem(3,'<b>CWnd</b> class',TObject(3),TObject(2));
			InsertItem(6,'<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>',TObject(1),TObject(1));
			AddItem(4,'Exceptions',TObject(1));
			InsertItem(7,'<b>System</b> Exceptions',TObject(2),TObject(4));
			AddItem(5,'File Services',TObject(2));
		end;
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
497
How can I add an extra button to a date picker editor

with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	DefaultItemHeight := 20;
	with (Columns.Add('Date') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		AddButton('B1',TObject(2),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B1',Nil,Nil);
		ButtonWidth := 20;
	end;
	with Items do
	begin
		AddItem(TObject(0));
		AddItem(TObject(1));
	end;
end
496
How can I add an extra button to a spin editor
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	DefaultItemHeight := 20;
	with (Columns.Add('Date') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SpinType;
		AddButton('B1',TObject(2),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B1',Nil,Nil);
		ButtonWidth := 20;
	end;
	with Items do
	begin
		AddItem(TObject(0));
		AddItem(TObject(1));
	end;
end
495
How can I remove or delete the buttons in the editor
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.EditType;
		AddButton('B1',TObject(1),TObject(0),'This is a bit of text that''s shown when the cursor hovers the button B1',Nil,Nil);
		AddButton('B3',TObject(2),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B3',Nil,Nil);
		AddButton('B4',TObject(1),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B4',Nil,Nil);
		RemoveButton('B1');
		ButtonWidth := 20;
	end;
	with Items do
	begin
		AddItem('Text 1');
		AddItem('Text 2');
	end;
end
494
How can I hide the buttons in the editor
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	DefaultItemHeight := 24;
	with (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.EditType;
		AddButton('B1',TObject(1),TObject(0),'This is a bit of text that''s shown when the cursor hovers the button B1',Nil,Nil);
		AddButton('B3',TObject(2),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B3',Nil,Nil);
		AddButton('B4',TObject(1),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B4',Nil,Nil);
		ButtonWidth := 0;
	end;
	with Items do
	begin
		AddItem('Text 1');
		AddItem('Text 2');
	end;
end
493
How can I change the width of the buttons in the editor
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	DefaultItemHeight := 24;
	with (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.EditType;
		AddButton('B1',TObject(1),TObject(0),'This is a bit of text that''s shown when the cursor hovers the button B1',Nil,Nil);
		AddButton('B3',TObject(2),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B3',Nil,Nil);
		AddButton('B4',TObject(1),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B4',Nil,Nil);
		ButtonWidth := 24;
	end;
	with Items do
	begin
		AddItem('Text 1');
		AddItem('Text 2');
	end;
end
492
How can I add extra buttons to an editor
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.EditType;
		AddButton('B1',TObject(1),TObject(0),'This is a bit of text that''s shown when the cursor hovers the button B1',Nil,Nil);
		AddButton('B2',TObject(2),TObject(0),'This is a bit of text that''s shown when the cursor hovers the button B2',Nil,Nil);
		AddButton('B3',TObject(3),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B3',Nil,Nil);
		AddButton('B4',TObject(1),TObject(1),'This is a bit of text that''s shown when the cursor hovers the button B4',Nil,Nil);
	end;
	with Items do
	begin
		AddItem('Text 1');
		AddItem('Text 2');
	end;
end
491
is there any function to specify the number of rows / items being visible in a drop down list editor
with AxG2antt1 do
begin
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'First item',Nil);
		AddItem(2,'Second item',Nil);
		AddItem(3,'Third item',Nil);
		DropDownRows := 1;
		PopupAppearance := EXG2ANTTLib.InplaceAppearanceEnum.FlatApp;
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
490
How can I change the border for a drop down editor
with AxG2antt1 do
begin
	with (Columns.Add('Date') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		PopupAppearance := EXG2ANTTLib.InplaceAppearanceEnum.FlatApp;
	end;
	Items.AddItem('Today');
	with Items do
	begin
		CellEditor[TObject(AddItem('Today')),TObject(0)].EditType := EXG2ANTTLib.EditTypeEnum.DateType;
	end;
end
489
How can I remove a predefined item in a drop down editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Color') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ColorListType;
		Option[EXG2ANTTLib.EditorOptionEnum.exColorListShowName] := TObject(True);
		RemoveItem(255);
	end;
	Items.AddItem(TObject(255));
	Items.AddItem(TObject(65280));
end
488
How can I remove or clear all predefined items in a drop down editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Color') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ColorListType;
		ClearItems();
		AddItem(255,'Red Color',Nil);
	end;
	Items.AddItem(TObject(255));
end
487
How can I center the predefined items in a drop down editor editor
with AxG2antt1 do
begin
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'First item',Nil);
		AddItem(2,'Second item',Nil);
		AddItem(3,'Third item',Nil);
		DropDownAlignment := EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
486
How can I right align the items in a drop down editor editor
with AxG2antt1 do
begin
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'First item',Nil);
		AddItem(2,'Second item',Nil);
		AddItem(3,'Third item',Nil);
		DropDownAlignment := EXG2ANTTLib.AlignmentEnum.RightAlignment;
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
485
How can I specify the width of the drop down editor
with AxG2antt1 do
begin
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		DropDownAutoWidth := EXG2ANTTLib.DropDownWidthType.exDropDownEditorWidth;
		DropDownMinWidth := 385;
		EditType := EXG2ANTTLib.EditTypeEnum.ColorListType;
	end;
	with Items do
	begin
		AddItem(TObject(255));
		AddItem(TObject(65280));
	end;
end
484
How can hide the drop down button for an editor
with AxG2antt1 do
begin
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		DropDownVisible := False;
		EditType := EXG2ANTTLib.EditTypeEnum.ColorListType;
	end;
	with Items do
	begin
		AddItem(TObject(255));
		AddItem(TObject(65280));
	end;
end
483
How can assign a tooltip to a drop down list editor
with AxG2antt1 do
begin
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'First item',Nil);
		AddItem(2,'Second item',Nil);
		AddItem(3,'Third item',Nil);
		ItemToolTip[TObject(1)] := 'This is a tooltip that shows when user hovers the <b>first</b> item';
		ItemToolTip[TObject(2)] := 'This is a tooltip that shows when user hovers the <b>second</b> item';
		ItemToolTip[TObject(3)] := 'This is a tooltip that shows when user hovers the <b>third</b> item';
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
482
How can I lock, disable make read only an editor
with AxG2antt1 do
begin
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		Locked := True;
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'First item',Nil);
		AddItem(2,'Second item',Nil);
		AddItem(3,'Third item',Nil);
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
481
How can I sort the items in a drop down list editor
with AxG2antt1 do
begin
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'Second item',Nil);
		AddItem(2,'First item',Nil);
		AddItem(3,'Third item',Nil);
		SortItems(TObject(True),Nil);
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
480
How can I expand an item in the tree or a hierarchy of a drop down editor
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column) do
	begin
		Def[EXG2ANTTLib.DefColumnEnum.exCellValueFormat] := TObject(1);
		with Editor do
		begin
			EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
			DropDownAutoWidth := EXG2ANTTLib.DropDownWidthType.exDropDownEditorWidth;
			AddItem(1,'<b>CObject</b> class',TObject(1));
			InsertItem(2,'<b>CCmdTarget</b> class',TObject(2),TObject(1));
			InsertItem(3,'<b>CWnd</b> class',TObject(3),TObject(2));
			InsertItem(6,'<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>',TObject(1),TObject(1));
			AddItem(4,'Exceptions',TObject(1));
			InsertItem(7,'<b>System</b> Exceptions',TObject(2),TObject(4));
			AddItem(5,'File Services',TObject(2));
			ExpandItem[TObject(1)] := True;
		end;
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
479
How can I display a tree or a hierarchy in a drop down editor
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column) do
	begin
		Def[EXG2ANTTLib.DefColumnEnum.exCellValueFormat] := TObject(1);
		with Editor do
		begin
			EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
			DropDownAutoWidth := EXG2ANTTLib.DropDownWidthType.exDropDownEditorWidth;
			AddItem(1,'<b>CObject</b> class',TObject(1));
			InsertItem(2,'<b>CCmdTarget</b> class',TObject(2),TObject(1));
			InsertItem(3,'<b>CWnd</b> class',TObject(3),TObject(2));
			InsertItem(6,'<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>',TObject(1),TObject(1));
			AddItem(4,'Exceptions',TObject(1));
			InsertItem(7,'<b>System</b> Exceptions',TObject(2),TObject(4));
			AddItem(5,'File Services',TObject(2));
			ExpandAll();
		end;
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
478
How can I look for items that includes the typed characters in a drop down list editor
with AxG2antt1 do
begin
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		Option[EXG2ANTTLib.EditorOptionEnum.exAutoSearch] := TObject(1);
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'First item',Nil);
		AddItem(2,'Second item',Nil);
		AddItem(3,'Third item',Nil);
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
477
How can I keep the selection background color while editor is visible

with AxG2antt1 do
begin
	SelBackColor := Color.FromArgb(255,0,0);
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		Option[EXG2ANTTLib.EditorOptionEnum.exKeepSelBackColor] := TObject(True);
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'First item',Nil);
		AddItem(2,'Second item',Nil);
		AddItem(3,'Third item',Nil);
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
476
How can I select from a drop down list the editor, when the user starts typing in the editor, while it is closed and focused
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		Option[EXG2ANTTLib.EditorOptionEnum.exAutoDropDownList] := TObject(1);
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'First item',TObject(1));
		AddItem(2,'Second item',TObject(3));
		AddItem(3,'Third item',TObject(2));
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
475
How can I automatically drop down the list editor, when the user starts typing in the editor
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		Option[EXG2ANTTLib.EditorOptionEnum.exAutoDropDownList] := TObject(-1);
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'First item',TObject(1));
		AddItem(2,'Second item',TObject(3));
		AddItem(3,'Third item',TObject(2));
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
474
How can I add a Font editor
with AxG2antt1 do
begin
	(Columns.Add('Font') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.FontType;
	Items.AddItem('Tahoma');
end
473
How can I change the visual appearance for the buttons in the calculator editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.CalculatorType;
		Option[EXG2ANTTLib.EditorOptionEnum.exCalcPictureUp] := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\colorize.gif`)');
		Option[EXG2ANTTLib.EditorOptionEnum.exCalcPictureDown] := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\auction.gif`)');
	end;
	Items.AddItem(TObject(10));
end
472
How can I customize the caption of buttons in the calculator editor

with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.CalculatorType;
		Option[EXG2ANTTLib.EditorOptionEnum.exCalcButtons] := '0;1;2;3;4;5;6;7;8;9;<b>+</b>;<fgcolor=FF0000>=</fgcolor>';
	end;
	Items.AddItem(TObject(10));
end
471
How can I customize the caption of buttons in the calculator editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.CalculatorType;
		Option[EXG2ANTTLib.EditorOptionEnum.exCalcButtons] := '0;1;2;3;4;5;6;7;8;9';
	end;
	Items.AddItem(TObject(10));
end
470
How can I specify the width and height of the buttons in the calculator editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.CalculatorType;
		Option[EXG2ANTTLib.EditorOptionEnum.exCalcButtonWidth] := TObject(32);
		Option[EXG2ANTTLib.EditorOptionEnum.exCalcButtonHeight] := TObject(32);
	end;
	Items.AddItem(TObject(10));
end
469
How can I change the "Cannot divide by zero" message that shows in the calculator editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.CalculatorType;
		Option[EXG2ANTTLib.EditorOptionEnum.exCalcCannotDivideByZero] := 'Divizion by zero';
	end;
	Items.AddItem(TObject(10));
end
468
How can I enable or disable executing operations while the calculator editor is focused and closed
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.CalculatorType;
		Option[EXG2ANTTLib.EditorOptionEnum.exCalcExecuteKeys] := TObject(False);
	end;
	Items.AddItem(TObject(10));
end
467
How can I add a calculator editor

with AxG2antt1 do
begin
	(Columns.Add('Slider') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.CalculatorType;
	Items.AddItem(TObject(10));
end
466
How can I edit a number between a range or interval
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
		Numeric := EXG2ANTTLib.NumericEnum.exInteger;
		Option[EXG2ANTTLib.EditorOptionEnum.exSpinStep] := TObject(0);
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderWidth] := TObject(0);
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMin] := TObject(5);
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMax] := TObject(15);
	end;
	Items.AddItem(TObject(10));
end
465
How can I hide or show the spin in the slider or track bar editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
		Option[EXG2ANTTLib.EditorOptionEnum.exSpinStep] := TObject(0);
	end;
	Items.AddItem(TObject(10));
end
464
How can I add a slider or track bar editor, with a fixed size
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderWidth] := TObject(64);
	end;
	Items.AddItem(TObject(10));
end
463
How can I add a slider or track bar editor, so it covers half of the cell
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderWidth] := TObject(-50);
	end;
	Items.AddItem(TObject(10));
end
462
How can I add a slider or track bar editor, so it covers the full cell
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Slider') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderWidth] := TObject(-100);
	end;
	Items.AddItem(TObject(10));
end
461
How can I add a slider or track bar editor within a range or interval of numbers
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Spin from 5 to 15') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
		Numeric := EXG2ANTTLib.NumericEnum.exInteger;
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMin] := TObject(5);
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMax] := TObject(15);
	end;
	Items.AddItem(TObject(10));
end
460
How can I add a slider or track bar editor within a range or interval of float numbers
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Spin from 5 to 15') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
		Numeric := EXG2ANTTLib.NumericEnum.exFloat;
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMin] := TObject(0);
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMax] := TObject(1);
		Option[EXG2ANTTLib.EditorOptionEnum.exSpinStep] := '0.01';
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderStep] := '0.01';
	end;
	Items.AddItem('0.3');
end
459
How can I add a spin editor within a range or interval of float numbers
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Spin from 5 to 15') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
		Numeric := EXG2ANTTLib.NumericEnum.exFloat;
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderWidth] := TObject(0);
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMin] := TObject(0);
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMax] := TObject(1);
		Option[EXG2ANTTLib.EditorOptionEnum.exSpinStep] := '0.01';
	end;
	Items.AddItem('0.3');
end
458
How can I add a spin editor within a range or interval of numbers
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Spin from 5 to 15') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
		Numeric := EXG2ANTTLib.NumericEnum.exInteger;
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderWidth] := TObject(0);
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMin] := TObject(5);
		Option[EXG2ANTTLib.EditorOptionEnum.exSliderMax] := TObject(15);
	end;
	Items.AddItem(TObject(10));
end
457
How can I add a slider or track bar editor
with AxG2antt1 do
begin
	(Columns.Add('Slider') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.SliderType;
	Items.AddItem(TObject(10));
end
456
I have check box column, but the check-boxes looks disabled. What can I do
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Check') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.CheckValueType;
		Option[EXG2ANTTLib.EditorOptionEnum.exCheckValue2] := TObject(1);
	end;
	with Items do
	begin
		AddItem(TObject(False));
		AddItem(TObject(True));
		AddItem(TObject(False));
	end;
end
455
How do I add check box column, so the cell value is changed as I click the cells
with AxG2antt1 do
begin
	MarkSearchColumn := False;
	with (Columns.Add('C') as EXG2ANTTLib.Column) do
	begin
		Width := 18;
		AllowSizing := False;
		with Editor do
		begin
			EditType := EXG2ANTTLib.EditTypeEnum.CheckValueType;
			Option[EXG2ANTTLib.EditorOptionEnum.exCheckValue2] := TObject(1);
		end;
	end;
	Columns.Add('Text');
	with Items do
	begin
		CellValue[TObject(AddItem(TObject(False))),TObject(1)] := 'Check 1';
		CellValue[TObject(AddItem(TObject(True))),TObject(1)] := 'Check 2';
		CellValue[TObject(AddItem(TObject(False))),TObject(1)] := 'Check 3';
	end;
end
454
How do I add check box column, so the cell value is changed as I click the cells
with AxG2antt1 do
begin
	(Columns.Add('Check') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.CheckValueType;
	with Items do
	begin
		AddItem(TObject(False));
		AddItem(TObject(True));
		AddItem(TObject(False));
	end;
end
453
How do I disable adding new lines using the ENTER key in a memo or a multiple lines edit control

with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MemoDropDownType;
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoDropDownAcceptReturn] := TObject(False);
	end;
	with Items do
	begin
		CellSingleLine[TObject(AddItem('This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break the' + 
	' line, and get it displayed on multiple lines.')),TObject(0)] := EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap;
	end;
end
452
How do I add a vertical scroll bar for a memo or a multiple lines edit control
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MemoDropDownType;
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoVScrollBar] := TObject(True);
	end;
	with Items do
	begin
		CellSingleLine[TObject(AddItem('This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break the' + 
	' line, and get it displayed on multiple lines.')),TObject(0)] := EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap;
	end;
end
451
How do I add a horizontal scroll bar for a memo or a multiple lines edit control
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MemoDropDownType;
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoHScrollBar] := TObject(True);
	end;
	with Items do
	begin
		CellSingleLine[TObject(AddItem('This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break the' + 
	' line, and get it displayed on multiple lines.')),TObject(0)] := EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap;
	end;
end
450
How can I specify the width or the height for a drop down memo or a multiple lines edit control
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MemoDropDownType;
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoDropDownWidth] := TObject(256);
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoDropDownHeight] := TObject(64);
	end;
	with Items do
	begin
		CellSingleLine[TObject(AddItem('This is a long text that should break the line, and get it displayed on multiple lines.')),TObject(0)] := EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap;
	end;
end
449
How do I add a drop down memo or a multiple lines edit control
with AxG2antt1 do
begin
	(Columns.Add('Edit') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.MemoDropDownType;
	with Items do
	begin
		CellSingleLine[TObject(AddItem('This is a long text that should break the line, and get it displayed on multiple lines.')),TObject(0)] := EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap;
	end;
end
448
How do I add a color list editor with my own or custom colors
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Color') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ColorListType;
		Option[EXG2ANTTLib.EditorOptionEnum.exColorListShowName] := TObject(True);
		ClearItems();
		AddItem(255,'Red Color',Nil);
		AddItem(16711680,'Blue Color',Nil);
		AddItem(65280,'Green Color',Nil);
	end;
	Items.AddItem(TObject(255));
end
447
How do I add a color list editor with my own or custom colors

with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Color') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ColorListType;
		ClearItems();
		AddItem(255,'Red Color',Nil);
		AddItem(16711680,'Blue Color',Nil);
		AddItem(65280,'Green Color',Nil);
	end;
	Items.AddItem(TObject(255));
end
446
How can I show the color's name in a color list editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Color') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ColorListType;
		Option[EXG2ANTTLib.EditorOptionEnum.exColorListShowName] := TObject(True);
	end;
	Items.AddItem(TObject(255));
end
445
How do I add a color list editor
with AxG2antt1 do
begin
	(Columns.Add('Color') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.ColorListType;
	Items.AddItem(TObject(255));
end
444
How can I access my own custom or ActiveX editor

with AxG2antt1 do
begin
	DrawGridLines := EXG2ANTTLib.GridLinesEnum.exAllLines;
	DefaultItemHeight := 128;
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.UserEditorType;
		UserEditor('MSCAL.Calendar','');
		with (UserEditorObject as MSACAL.Calendar) do
		begin
			BackColor := $ffffff;
			GridCellEffect := 0;
			ShowTitle := False;
			ShowDateSelectors := False;
		end;
	end;
	with Items do
	begin
		AddItem('MSCal.Calendar');
		AddItem('MSCal.Calendar');
	end;
end
443
How can I add my own custom or ActiveX editor
with AxG2antt1 do
begin
	DrawGridLines := EXG2ANTTLib.GridLinesEnum.exAllLines;
	DefaultItemHeight := 128;
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.UserEditorType;
		UserEditor('MSCAL.Calendar','');
	end;
	with Items do
	begin
		AddItem('MSCal.Calendar');
		AddItem('MSCal.Calendar');
	end;
end
442
How can I add a hyperlink editor
with AxG2antt1 do
begin
	(Columns.Add('Shell.Execute') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.LinkEditType;
	Items.AddItem('http://www.exontrol.com');
	Items.AddItem('c:\');
end
441
How can I add a drop down editor, that allows only predefined values, but still being able to edit and select

with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.PickEditType;
		AddItem(1,'The first item',TObject(1));
		AddItem(2,'The second item',TObject(3));
		AddItem(3,'The third item',TObject(2));
	end;
	with Items do
	begin
		AddItem('The first item');
		AddItem('The third item');
	end;
end
440
How can I show or hide the rectangle arround progress bar editor

with AxG2antt1 do
begin
	SelForeColor := Color.FromArgb(0,0,0);
	SelBackColor := Color.FromArgb(128,255,255);
	var_Editor := (Columns.Add('Progress') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ProgressBarType;
		Option[EXG2ANTTLib.EditorOptionEnum.exProgressBarMarkTicker] := TObject(False);
	end;
	Items.AddItem(TObject(33));
end
439
How can I hide the caption / percent in the progress bar editor
with AxG2antt1 do
begin
	SelForeColor := Color.FromArgb(0,0,0);
	SelBackColor := Color.FromArgb(128,255,255);
	var_Editor := (Columns.Add('Progress') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ProgressBarType;
		Option[EXG2ANTTLib.EditorOptionEnum.exProgressBarAlignment] := TObject(-1);
	end;
	Items.AddItem(TObject(33));
end
438
How can I align the caption in the center of the progress bar editor
with AxG2antt1 do
begin
	SelForeColor := Color.FromArgb(0,0,0);
	SelBackColor := Color.FromArgb(128,255,255);
	var_Editor := (Columns.Add('Progress') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ProgressBarType;
		Option[EXG2ANTTLib.EditorOptionEnum.exProgressBarAlignment] := TObject(1);
	end;
	Items.AddItem(TObject(33));
end
437
How can I align the caption to the right in the progress bar editor
with AxG2antt1 do
begin
	SelForeColor := Color.FromArgb(0,0,0);
	SelBackColor := Color.FromArgb(128,255,255);
	var_Editor := (Columns.Add('Progress') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ProgressBarType;
		Option[EXG2ANTTLib.EditorOptionEnum.exProgressBarAlignment] := TObject(2);
	end;
	Items.AddItem(TObject(33));
end
436
How can I change the background color for a progress bar editor
with AxG2antt1 do
begin
	SelForeColor := Color.FromArgb(0,0,0);
	SelBackColor := Color.FromArgb(128,255,255);
	var_Editor := (Columns.Add('Progress') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ProgressBarType;
		Option[EXG2ANTTLib.EditorOptionEnum.exProgressBarBackColor] := TObject(255);
	end;
	Items.AddItem(TObject(33));
end
435
How can I add a progress bar editor
with AxG2antt1 do
begin
	SelForeColor := Color.FromArgb(0,0,0);
	SelBackColor := Color.FromArgb(128,255,255);
	(Columns.Add('Progress') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.ProgressBarType;
	Items.AddItem(TObject(33));
end
434
How can I add a button editor
with AxG2antt1 do
begin
	(Columns.Add('Button') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.ButtonType;
	Items.AddItem('Just a text');
end
433
How can I show or hide the type of the OLE Object for Photo or a Picture editor

with AxG2antt1 do
begin
	ColumnAutoResize := False;
	with (Columns.Add('Photo') as EXG2ANTTLib.Column) do
	begin
		Width := 74;
		with Editor do
		begin
			EditType := EXG2ANTTLib.EditTypeEnum.PictureType;
			Option[EXG2ANTTLib.EditorOptionEnum.exShowPictureType] := TObject(False);
		end;
	end;
	with Items do
	begin
		h := AddItem(Nil);
		CellValue[TObject(h),TObject(0)] := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\sample.bmp`)');
		ItemHeight[h] := 64;
	end;
end
432
How can I add a Photo or a Picture editor

with AxG2antt1 do
begin
	(Columns.Add('Photo') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.PictureType;
	with Items do
	begin
		h := AddItem(Nil);
		CellValue[TObject(h),TObject(0)] := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\sample.bmp`)');
		ItemHeight[h] := 64;
	end;
end
431
How can I hide or show the "System" page in the color editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Color') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ColorType;
		Option[EXG2ANTTLib.EditorOptionEnum.exColorShowSystem] := TObject(False);
	end;
	Items.AddItem(TObject(255));
end
430
How can I hide or show the "Palette" page in the color editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Color') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.ColorType;
		Option[EXG2ANTTLib.EditorOptionEnum.exColorShowPalette] := TObject(False);
	end;
	Items.AddItem(TObject(255));
end
429
How do I add a color editor

with AxG2antt1 do
begin
	(Columns.Add('Color') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.ColorType;
	Items.AddItem(TObject(255));
end
428
How do I change the masking character
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Mask') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MaskType;
		Mask := '###';
		MaskChar := 48;
	end;
	Items.AddItem('');
end
427
How do I mask an IP
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('IP') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MaskType;
		Mask := '{0,255}\.{0,255}\.{0,255}\.{0,255}';
	end;
	Items.AddItem('1.2.3.4');
end
426
How do I add a mask editor

with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Mask') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MaskType;
		Mask := '{0,255}\.{0,255}\.{0,255}\.{0,255}';
	end;
	Items.AddItem('1.2.3.4');
end
425
How to show or hide the week numbers header in a drop down date picker calendar editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Date') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		Option[EXG2ANTTLib.EditorOptionEnum.exDateWeeksHeader] := TObject(True);
	end;
	Items.AddItem('Today');
end
424
How do I show or hide the bottom scroll bar in the drop down date picker calendar editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Date') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		Option[EXG2ANTTLib.EditorOptionEnum.exDateShowScroll] := TObject(False);
	end;
	Items.AddItem('Today');
end
423
How do highlight the "Today" date is the drop down date picker calendar editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Date') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		Option[EXG2ANTTLib.EditorOptionEnum.exDateMarkToday] := TObject(True);
	end;
	Items.AddItem('Today');
end
422
How do I show or hide the "Today" button is the drop down date picker calendar editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Date') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		Option[EXG2ANTTLib.EditorOptionEnum.exDateShowTodayButton] := TObject(False);
	end;
	Items.AddItem('Today');
end
421
How to specify the first day of the week in the drop down date picker calendar editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Date') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		Option[EXG2ANTTLib.EditorOptionEnum.exDateFirstWeekDay] := TObject(1);
	end;
	Items.AddItem('Today');
end
420
How to specifies the shortcut for the weekdays to be displayed in the drop down date picker calendar editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Date') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		Option[EXG2ANTTLib.EditorOptionEnum.exDateWeekDays] := 'Du Lu Ma Mi Jo Vi Si';
	end;
	Items.AddItem('Today');
end
419
How can I change the name of the months in the drop down date picker calendar editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Date') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		Option[EXG2ANTTLib.EditorOptionEnum.exDateMonths] := 'Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre';
	end;
	Items.AddItem('Today');
end
418
Can I change the "Today" caption being displayed in the drop down date picker calendar editor
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Date') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		Option[EXG2ANTTLib.EditorOptionEnum.exDateTodayCaption] := 'Azi';
	end;
	Items.AddItem('Today');
end
417
How can allow empty date to drop down date picker control or a calendar control

with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Date') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DateType;
		Option[EXG2ANTTLib.EditorOptionEnum.exDateAllowNullDate] := TObject(True);
	end;
	with Items do
	begin
		AddItem('5/12/2012');
		AddItem('');
		AddItem('5/14/2012');
	end;
end
416
How can I a drop down date picker control or a calendar control
with AxG2antt1 do
begin
	(Columns.Add('Date') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.DateType;
	with Items do
	begin
		AddItem('Today');
	end;
end
415
How can I have an OR combination of my bit values, something like a check-box list editor

with AxG2antt1 do
begin
	with (Columns.Add('CkeckList') as EXG2ANTTLib.Column) do
	begin
		Def[EXG2ANTTLib.DefColumnEnum.exCellValueFormat] := TObject(1);
		with Editor do
		begin
			EditType := EXG2ANTTLib.EditTypeEnum.CheckListType;
			AddItem(1,'Bit <b>1</b>',Nil);
			AddItem(2,'Bit <b>2</b>',Nil);
			AddItem(4,'Bit <b>3</b>',Nil);
			AddItem(8,'Bit <b>4</b>',Nil);
			AddItem(16,'Bit <b>5</b>',Nil);
			AddItem(32,'Bit <b>6</b>',Nil);
			AddItem(64,'Bit <b>7</b>',Nil);
			AddItem(128,'Bit <b>8</b>',Nil);
		end;
	end;
	with Items do
	begin
		AddItem(TObject(112));
		AddItem(TObject(2));
	end;
end
414
How do I stop resizing the memo or a multiple lines edit control, while the user types
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MemoType;
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoAutoSize] := TObject(False);
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoHScrollBar] := TObject(True);
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoVScrollBar] := TObject(True);
	end;
	with Items do
	begin
		CellSingleLine[TObject(AddItem('This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break the' + 
	' line, and get it displayed on multiple lines.')),TObject(0)] := EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap;
	end;
end
413
How do I add a horizontal scroll bar for a memo or a multiple lines edit control
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MemoType;
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoHScrollBar] := TObject(True);
	end;
	with Items do
	begin
		CellSingleLine[TObject(AddItem('This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break the' + 
	' line, and get it displayed on multiple lines.')),TObject(0)] := EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap;
	end;
end
412
How do I add a vertical scroll bar for a memo or a multiple lines edit control
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.MemoType;
		Option[EXG2ANTTLib.EditorOptionEnum.exMemoVScrollBar] := TObject(True);
	end;
	with Items do
	begin
		CellSingleLine[TObject(AddItem('This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break the' + 
	' line, and get it displayed on multiple lines.')),TObject(0)] := EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap;
	end;
end
411
How do I add a memo or a multiple lines edit control
with AxG2antt1 do
begin
	(Columns.Add('Edit') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.MemoType;
	with Items do
	begin
		CellSingleLine[TObject(AddItem('This is a long text that should break the line, and get it displayed on multiple lines.')),TObject(0)] := EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap;
	end;
end
410
How to specify the proposed change when the user clicks a spin control.
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SpinType;
		Numeric := EXG2ANTTLib.NumericEnum.exInteger;
		Option[EXG2ANTTLib.EditorOptionEnum.exSpinStep] := TObject(10);
	end;
	with Items do
	begin
		AddItem(TObject(0));
		AddItem(TObject(10));
		AddItem(TObject(20));
	end;
end
409
How do I add a spin editor that allows only integer values
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.SpinType;
		Numeric := EXG2ANTTLib.NumericEnum.exInteger;
	end;
	with Items do
	begin
		AddItem(TObject(0));
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
408
How do I add a spin editor
with AxG2antt1 do
begin
	(Columns.Add('Edit') as EXG2ANTTLib.Column).Editor.EditType := EXG2ANTTLib.EditTypeEnum.SpinType;
	with Items do
	begin
		AddItem(TObject(0));
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
407
How do I specify in a drop down list editor, that I do not want to have predefined icon
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'The first item',TObject(1));
		AddItem(2,'The second item',TObject(3));
		AddItem(3,'The third item',TObject(2));
		Option[EXG2ANTTLib.EditorOptionEnum.exDropDownImage] := TObject(False);
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
406
How do I add a drop down editor, that allows only predefined values
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('DropDown') as EXG2ANTTLib.Column).Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.DropDownListType;
		AddItem(1,'The first item',TObject(1));
		AddItem(2,'The second item',TObject(3));
		AddItem(3,'The third item',TObject(2));
	end;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
	end;
end
405
How to allow the editor to work on insert or overtype mode
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.EditType;
		Option[EXG2ANTTLib.EditorOptionEnum.exEditAllowOverType] := TObject(True);
		Option[EXG2ANTTLib.EditorOptionEnum.exEditOverType] := TObject(True);
	end;
	with Items do
	begin
		AddItem('000');
		AddItem('111');
		AddItem('222');
	end;
end
404
How to set foreground color for a locked, or read only edit control
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.EditType;
		Locked := True;
		Option[EXG2ANTTLib.EditorOptionEnum.exEditLockedForeColor] := TObject(8421504);
	end;
	with Items do
	begin
		AddItem('000');
		AddItem('111');
		AddItem('222');
	end;
end
403
How to set background color for a locked, or read only edit control
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.EditType;
		Locked := True;
		Option[EXG2ANTTLib.EditorOptionEnum.exEditLockedBackColor] := TObject(8421504);
	end;
	with Items do
	begin
		AddItem('000');
		AddItem('111');
		AddItem('222');
	end;
end
402
How to set the number of characters selected, when an EditType editor is opened
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.EditType;
		Option[EXG2ANTTLib.EditorOptionEnum.exEditSelLength] := TObject(1);
	end;
	with Items do
	begin
		AddItem('000');
		AddItem('111');
		AddItem('222');
	end;
end
401
How to set the starting point of text selected, when an EditType editor is opened
with AxG2antt1 do
begin
	var_Editor := (Columns.Add('Edit') as EXG2ANTTLib.Column).Editor;
	with var_Editor do
	begin
		EditType := EXG2ANTTLib.EditTypeEnum.EditType;
		Option[EXG2ANTTLib.EditorOptionEnum.exEditSelStart] := TObject(1);
		Option[EXG2ANTTLib.EditorOptionEnum.exEditSelLength] := TObject(1);
	end;
	with Items do
	begin
		AddItem('000');
		AddItem('111');
		AddItem('222');
	end;
end